<?php echo $header; ?>

<div class="page" id="content">
	<div class="personal_info">
    	<?php if($this->customer->getLastName()){ ?>
			    Welcom <?php echo $this->customer->getLastName() ?> <b>(</b> <a href="index.php?route=account/logout">logout</a> <b>)</b>
			<?php }else{ ?>
				<a href="index.php?route=account/login">login</a> or <a href="index.php?route=account/register">create an account</a>
			<?php } ?>
    </div>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<div class="shoppingcart_container">
		  <h1><?php echo $heading_title; ?></h1>
		  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" style="margin-left:10px">
		    <h2>Our Friendly Websites</h2>
		    <div class="content">
				<b>We are usually happy to exchange links with other websites.  If you manage a website that you would like linked on ours, please do the follow:</b>
				<ul>
				    <li>Website must be family-friendly.</li>
				    <li>Website, with pagerank greater than 2 and related to our products such as <b>printer ink cartridges, laser toners, printers and office supplies</b>, will be randomly linked to in several our category and product pages.</li>
				    <li>Canadian website, with pagerank greater than 3, will be randomly linked to in several our category and product pages.</li>
				    <li>We believe that links are service to our visitors, not just for page rankings and SEO, so link sections should be user-friendly.  Links should be in a visible, logical and accessible location. Our link should be EASY to find and should be no more than three clicks from the home page. (We verify links by starting at the home page.)</li>
				    <li>We do not link to any site that tries to hide its links page, and we do not link to any site that puts links in a java script code, or runs links through a cgi script, with the effect of making the links invisible to search engine spiders. </li>
				    <li><a href="index.php?route=information/friend#submit_link" style="font-weight:bold;font-size:16px;">Now, click here to submit your link to us</a>. If we can easily find our link at your website we will approve your link in one business day.</li>
			  	</ul>
  				<b>Posting a Link to Us</b>. You don't have to link to our homepage if the content of your site makes it more logical to link to a content specific page on our site.
				<ul>
				  <li>Link URL: http://www.mallplus.com</li>
				  <li>Link Title Option 1: Printer Ink</li>
				  <li>Link Title Option 2: Toner Cartridges</li>
				  <li>Link Title Option 3: Ink Cartridges</li>
				  <li>Link Description Opt 1: Canada ink store provides printer inkjet cartridges and laser toner cartridges for Canon, Epson, HP, Brother, Lexmark, Samsung and more.</li>
				  <li>Link Description Opt 2: Canada ink store provides cheap and quality printer inkjet cartridges and laser toner cartridges.</li>
				</ul>
  				<b>Or you can Copy &amp; Paste our link code</b>.
				<br><br>
				<textarea style="height:70px;width:600px;">&lt;a href="http://www.mallplus.com" title="Printer Ink Cartridges &amp; Laser Toners Canada"&gt;Canada Ink Cartridges - Ink Cartridges&lt;/a&gt; Canada ink store provides printer inkjet cartridges and laser toner cartridges for Canon, Epson, HP, Brother, Lexmark, Samsung and more.
				</textarea>
		    </div>
		    <?php if($friends){?>
			    <h2>Recent added friend websites</h2>
			    <div class="content">
			    	<?php
			    		foreach ($friends as $friend) {?>
			    			<a href="<?php echo $friend['link'];?>" target="_blank" style="color: #01387F;text-decoration: none;cursor: pointer;font-weight:bold;font-size:14px"><?php echo $friend['name']?></a><br>
			    			<?php echo $friend['description']?><br/><br/>
			    		<?php }?>
			    </div>
			    <div class="pagination"><?php echo $pagination; ?></div>
		    <?php }?>
		    <a name="submit_link"></a>
		    <br>
		    <h2>Submit your link</h2>
		    <div class="content">
		    	<b>Your website name:</b><br>
		    	<input class="textInput" id="link_name" name="name" size="30" type="text">
		    	<br /><br />
		    	<b>Your website address:</b><br>
		    	<input class="textInput" id="link_name" name="link" size="30" type="text">
		    	<br /><br />
		    	<b>Your website description:</b><br>
		    	<textarea class="" cols="40" id="link_description" name="description" rows="20" style="height:40px;"></textarea>
		    	<br /><br />
		    	<b>Enter the code in the box below:</b><br>
		    	<img src="index.php?route=information/contact/captcha" alt="" /><br>
		    	<input class="textInput" id="link_captcha" name="captcha" size="30" type="text">
		    	<?php if ($error_captcha) { ?>
			    	<span class="error"><?php echo $error_captcha; ?></span>
			    <?php } ?>
		    	<br /><br />
		    	<div class="buttons">
			      <div class="right"><input type="submit" value="Continue" class="button"></div>
			    </div>
		  </form>
		</div></td></tr></table></div>
<?php echo $footer; ?>